<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/commonPage.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>商品列表 - SXT商城</title>
		<%@ include file="/common/include/title.jsp"%>
		<link type="text/css" href="${rootpath }/css/my.css" rel="stylesheet">
		<link type="text/css" href="${rootpath }/css/list.css" rel="stylesheet">
	</head>
	<body>
		<div id="doc">
			<%@ include file="/common/include/header.jsp"%>
			<div id="s_bd">
					<div style="margin: 10px 0 0 0;"></div>
					<div class="breadcrumbs">
						<div class="f-l">
							<a href="#">首页</a><span>»</span><a href="#">我的SXT</a><span>»</span>资料修改
						</div>
					</div>
					<%@ include file="/common/include/left_header.jsp"%>
					<div class="f-r presonalinfo">
						<h2>我的收货地址</h2>
						<div class="ddbox">
							<dl>
								<dd>
									<div class="ddtable">
										<a class="blue" href="${rootpath }/head/users/addressInsert.html">添加</a>
										<table class="ddinfo" width="100%">
											<tbody>
												<tr>
													<th>序号</th>
													<th>名称</th>
													<th>收货人</th>
													<th>电话</th>
													<th>地区</th>
													<th>地址</th>
													<th>状态</th>
													<th>操作</th>
												</tr>
												<c:forEach items="${requestScope.usersAddressList }" var="usersAddress" varStatus="stat">
													<tr>
														<td width="100px">${stat.count }</a></td>
														<td width="100px"><a class="blue" href="#">${usersAddress.name }</a></td>
														<td>${usersAddress.contact }</td>
														<td>${usersAddress.phone }</td>
														<td>${usersAddress.regionId }</td>
														<td>${usersAddress.address }</td>
														<td>${usersAddress.statusStr }</td>
														<td>
															<a class="blue" href="${rootpath }/head/users/addressUpdate.html?uaid=${usersAddress.id}">修改</a>
														</td>
													</tr>
												</c:forEach>
											</tbody>
										</table>
									</div>
									
									<script type="text/javascript">
									$(function(){
										$(".gzbtn").click(function(){
											$(".ddtipbox").show();
										});
										$(".close").click(function(){
											$(".ddtipbox").hide();
										})
									});
									</script>
									
								</dd>
							</dl>
						</div>
					</div>
				</div>
				<!--presonalinfo end-->
				<div class="clear"></div>
			</div>
			<%@ include file="/common/include/footer.jsp"%>
		</div>
	</body>
</html>